package decorator.base;

/**
 * 星巴克咖啡基类
 * @author yaojianfeng
 */
public abstract class BaseBeverage {
    public String description ="Unknown Beverage";

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * 计算咖啡的价格
     * @return 价格
     */
    public abstract float cost();
}
